/*
 * Singularity Engine
 * Copyright (C) 2010 Vyacheslav Vorobyov, All rights reserved.
 * See LICENSE for full license information.
 */
package org.singularity.io;


/**
 * Specifies a factory interface for creation of output stream of DMEs.
 * 
 * @author vjache
 *
 * @param <VT> - a type of values this output consumes.
 * 
 * @see org.singularity.io.DME
 * @see org.singularity.mapred.OutputElement
 */
public interface Output<VT> {
	/**
	 * Creates a new pipe for output.
	 * @return a close able pipe for DMEs.
	 */
	CloseablePipe<DME<VT>> open();
}
